﻿<%@ Page Language="C#" MasterPageFile="~/GiaoVien/MasterPageGiaoVien.master" AutoEventWireup="true" CodeFile="DanhSachLuanVanOfGiaoVien.aspx.cs" Inherits="GiaoVien_DanhSachLuanVanOfGiaoVien" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

 &nbsp;<ajax:ajaxpanel id="Ajaxpanel1" runat="server" ><fieldset id="FIELDSET2"  >
	<legend>Chọn năm ra luận văn:</legend>
        <asp:DropDownList ID="ddlDot" runat="server" Width="264px" >
        </asp:DropDownList>
        &nbsp; &nbsp; &nbsp;
        <asp:Button ID="btnXem" runat="server" Text="Xem" Width="78px" OnClick="btnXem_Click"  />
 </fieldset>
    <br />
<fieldset id="FIELDSET1"  >
		<legend>Danh sách luận văn đã ra</legend>
		<table style="width: 307px">
            <tr>
                <td align="center" colspan="2" style="width: 718px">
                    <asp:Label ID="Label1" runat="server" BackColor="Red" BorderStyle="Groove" Text="Không Tồn Tại Luận Văn Nào !"
                        Visible="False" Width="370px" Font-Size="20pt"></asp:Label></td>
            </tr>
        <tr>
            <td colspan="2" style="width: 718px">
		<asp:GridView ID="gridLuanVan"  runat="server" Width="710px" BackColor="White" AutoGenerateSelectButton="False"
		                BorderStyle="Solid" AutoGenerateColumns="False" AllowSorting="True" 
		                BorderWidth="1px" GridLines="Vertical" ForeColor="Black" CellPadding="3" 
		                datakeynames="MaLuanVan"
		                CellSpacing="5"
		                BorderColor="#999999" Visible="true"	  
		                 >
		 
         <FooterStyle BackColor="#CCCCCC"></FooterStyle> 
         <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White"></SelectedRowStyle>  
         <columns>
            <asp:templatefield headertext="Mã Luận Văn" Visible ="false" ItemStyle-Width="50px">
                <itemtemplate>
                  <asp:label id="lbMaLuanVan" runat="server" Text= '<%# Bind("MaLuanVan")%>'></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" />
            </asp:templatefield>  
            
            <asp:templatefield headertext="Tên Luận Văn">
                <itemtemplate>
                  <asp:LinkButton id="a" runat="server" Text= '<%# Bind("TenLuanVan")%>' CommandArgument='<%# Bind("MaLuanVan")%>' CommandName="xemChiTiet"  ToolTip="Xem chi tiết">
                  </asp:LinkButton>
                </itemtemplate>
                <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" />
            </asp:templatefield>    
             
          <asp:templatefield headertext="ĐTB" ItemStyle-Width="50px">
                <itemtemplate>
                  <asp:label id="ngay"  runat="server" Text= ' <%# Bind("DTB")%>' ></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" />
          </asp:templatefield> 
          
           <asp:templatefield headertext="Xếp Lọai" ItemStyle-Width="150px">
                <itemtemplate>
                  <asp:label id="d"  runat="server" Text= ' <%# Bind("XepLoai")%>' ></asp:label>
                </itemtemplate>
                <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" />
          </asp:templatefield>       
        </columns>     
        <PagerStyle HorizontalAlign="Center" BackColor="#999999" ForeColor="Black"></PagerStyle>

        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White"></SelectedRowStyle>
        <HeaderStyle BackColor="BlueViolet" Font-Bold="True" ForeColor="White"></HeaderStyle>
        <AlternatingRowStyle BackColor="#CCCCCC"></AlternatingRowStyle>
        
    </asp:GridView>
            </td>
        </tr>
    </table>
    
</fieldset>
</ajax:ajaxpanel>

</asp:Content>

